<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <title>UDP解析器</title>
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-md-10">
                <h2>
                    使用方法：
                </h2>
                <p>
                    首先通过WireShark抓UDP的包（过滤条件可以使用『ip.addr == 192.168.xxx.xxx && udp && !mdns && !dns && !ntp』，xxx替换成你的IP）
                </p>
                <p>
                    然后右键点击包，选择复制...为一个hex流
                </p>
                <p>
                    请求：
                    <a href="parse?hex=">parse?hex=</a> （在hex=后面加上你复制的hex流，例如<a href="parse?hex=450000b033d940004011eb72c0a8ccd2c0a8cccd1a0ad260009cd80e7e2305a501ea61353232303763616532373534623365616636393431616132643936306134398a000000687b22726573756c74223a2231222c226465766963654e616d65223a22535442222c2264657669636554797065223a2238222c22737570706f7274436f6d6d616e644c697374223a22222c226465766963654944223a2236326635646638333665376630313263227d1f">示例请求</a>，建议安装JSON解析工具方便查看）
                </p>
            </div>
        </div>
    </div>
</body>

</html>